package org.pp.miniapp.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class OrderAdd {
    @NotEmpty(message = "请选择商品")
    List<Long> cartIds;
    @NotNull(message = "请选择地址")
    Long addressId;
}
